import request from "@/utils/request";

// 查询工装管理基础列表
export function listSeat(query) {
  return request({
    url: "/frock/seat/list",
    method: "get",
    params: query,
  });
}

// 查询工装管理基础详细
export function getSeat(frockId) {
  return request({
    url: "/frock/seat/" + frockId,
    method: "get",
  });
}

// 新增工装管理基础
export function addSeat(data) {
  return request({
    url: "/frock/seat",
    method: "post",
    data: data,
  });
}

// 修改工装管理基础
export function updateSeat(data) {
  return request({
    url: "/frock/seat",
    method: "put",
    data: data,
  });
}

// 删除工装管理基础
export function delSeat(frockId) {
  return request({
    url: "/frock/seat/" + frockId,
    method: "delete",
  });
}

// 导出工装管理基础
export function exportSeat(query) {
  return request({
    url: "/frock/seat/export",
    method: "get",
    params: query,
  });
}
